// eslint-disable-next-line import/no-anonymous-default-export
export default {
  formateDate(time) {
    if(!time) return ''
    let date = new Date(time)
    return date.getFullYear() + '-' + date.getMonth() + '-' + date.getDate() + ' ' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds()
  }
}